package com.spring.dao;

/**
 *
 * @ClassName: UserDao
 * @Description: TODO
 * @Version V1.0
 **/
public class UserDao {

    /***
     * @Description //保存方法
     **/
    public int save(){
        System.out.println("数据保存成功！");
        return 1;
    }

    /***
     * @Description //开启bean
     **/
    public void init(){
        System.out.println("开启bean生命周期成功。。。。");
    }


    /***
     * @Description //销毁bean
     **/
    public int destroy(){
        System.out.println("销毁bean生命周期成功。。。。");
        return 1;
    }
}
